package com.zhike.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户动态浏览表
 * @TableName zhike_post_user_browse
 */
@TableName(value ="zhike_post_user_browse")
@Data
public class ZhikePostUserBrowse implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 动态id
     */
    private Integer postId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 浏览时间
     */
    private Date browseTime;

    /**
     * 目标用户id
     * */
    private String targetUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
